<!--
 * @Author: fisher
 * @Date: 2024-02-20 15:23:54
 * @LastEditors: fisher luthor-li@qq.com
 * @LastEditTime: 2024-02-21 09:34:45
 * @FilePath: \allfront\src\modules\home\index.vue
 * @Description: 
-->
<template>
  <div>
    <el-row :gutter="12">
      <el-col :span="8">
        <el-card shadow="hover" @click="changeRoute('cloud')"> 云渲染 </el-card>
      </el-col>
      <el-col :span="8">
        <el-card shadow="hover" @click="changeRoute('map3d')">
          cesium预览
        </el-card>
      </el-col>
      <el-col :span="8">
        <el-card shadow="hover" @click="changeRoute('pixelstream')">
          像素流预览
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const changeRoute = route => {
  router.push({
    path: `/${route}`,
  });
};
</script>
<style scoped></style>
